package com.backstage.impl.login;

import com.backstage.dao.login.LoginMapper;
import com.backstage.entity.UserEntity;
import com.backstage.service.login.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by cynic on 2018/4/10.
 */
@Service
public class LoginImpl implements LoginService {

    @Autowired
    LoginMapper loginMapper;

    public UserEntity getUserByUserName(String userName) {
        return loginMapper.getUserByUserName(userName);
    }
}
